package com.example.coursedesign.entity;

import java.time.LocalDateTime;
import java.util.Date;

public class User {
    private int id;
    private String account;
    private String name;
    private String password;
    private String gender;
    private String role;
    private String avatar;
    private String phone;
    private String create_by;
    private LocalDateTime create_time;
    private String update_by;
    private LocalDateTime update_time;

    public User(){}

    public User(int id, String account, String name, String password, String gender, String role, String avatar, String phone, String create_by) {
        this.id = id;
        this.account = account;
        this.name = name;
        this.password = password;
        this.gender = gender;
        this.role = role;
        this.avatar = avatar;
        this.phone = phone;
        this.create_by = create_by;
//        this.create_time = create_time;
//        this.update_by = update_by;
//        this.update_time = update_time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getcreate_by() {
        return create_by;
    }

    public void setcreate_by(String create_by) {
        this.create_by = create_by;
    }

    public LocalDateTime getcreate_time() {
        return create_time;
    }

    public void setcreate_time(LocalDateTime create_time) {
        this.create_time = create_time;
    }

    public String getupdate_by() {
        return update_by;
    }

    public void setupdate_by(String update_by) {
        this.update_by = update_by;
    }

    public LocalDateTime getupdate_time() {
        return update_time;
    }

    public void setupdate_time(LocalDateTime update_time) {
        this.update_time = update_time;
    }
}
